package com.situ.util.service;
import java.util.List;
import java.util.Map;

import com.situ.login.entity.SysUser;
import com.situ.util.entity.*;
import org.apache.ibatis.annotations.Param;

/**
 * CstCustomer的服务接口
 * 
 * @author 
 *
 */
public interface CstCustomerService {
//根据条件查询客户表
	public List<Map> queryallCustomer(CstCustomer cst);
	public CstCustomer showCustById( String cust_no);
	public List<BasDict> querydict(String dict_type);
	public Integer querylevelid(String dict_item);
	public Integer queryuseridbyname(String usr_name);
	public List<SysUser> queryusers();
	public void  updateCustomerById(CstCustomer c);

	public List<CstLinkman> queryLinkmanById(String lkm_cust_no);
	public void addlinkman(CstLinkman c);
	public void updatelinkman(CstLinkman c);
	public void dellinkman( Integer lkm_id);

	public List<CstActivity> queryatvById(String cust_no);
	public void addatv(CstActivity a);
	public void updateatv(CstActivity c);
	public void delatv( Integer id);
	public CstActivity queryatvByaId(Integer atv_id);
	public List<Orders> queryorders(String odr_customer_id);
	public void delcustomer(String cust_no);
	public Map queryorderbyid( Integer odr_id);

	public List<Map> queryPLByid( Integer odd_order_id);


}
